package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_invoice_set")
@ApiModel(value="ShopInvoiceSetEntity对象", description="")
public class ShopInvoiceSetEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "会员id")
    @ApiModelProperty(value = "会员id")
    private String memberId;

    @Column(comment = "抬头")
    @ApiModelProperty(value = "抬头")
    private String title;

    @Column(comment = "发票类型")
    @ApiModelProperty("发票类型")
    private String invoiceType;

    @Column(comment = "开具类型")
    @ApiModelProperty("开具类型")
    private String openType;

    @Column(comment = "银行名称")
    @ApiModelProperty("银行名称")
    private String bankName;

    @Column(comment = "是否默认：1-是；0-否")
    @ApiModelProperty("是否默认：1-是；0-否")
    private String defaultFlag;

    @Column(comment = "税号")
    @ApiModelProperty(value = "税号")
    private String taxNumber;

    @Column(comment = "银行卡号")
    @ApiModelProperty(value = "银行卡号")
    private String bankCardNo;

    @Column(comment = "电话")
    @ApiModelProperty(value = "电话")
    private String mobile;

    @Column(comment = "地址")
    @ApiModelProperty(value = "地址")
    private String address;

    @Column(comment = "创建时间")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
